//
//  DownloadOperation.h
//  Unity-iPhone
//
//  Created by 宁校航 on 16/10/8.
//
//

#import <Foundation/Foundation.h>
#import <AFNetworking/AFNetworking.h>

enum DownloadStatus {
    Waiting = 0,
    Downloading = 1,
    Pausing = 2,
    Failed = 3
};

@interface DownloadOperation : NSBlockOperation

@property(nonatomic,retain)NSURLSessionDownloadTask *afOperation;

@property(nonatomic,retain)NSURL *requestUrl;


@property(nonatomic)enum DownloadStatus downStatus;

@end
